body{
  min-width: 320px;
  max-width: 750px;
  margin: 0 auto;
  height: 1200px;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a{
  text-decoration: none;
}
// 媒体查询 屏幕大于750px 时字体大小不一样
@media screen and (min-width:750px) {
  font-size: 37.5px !important;
}

/*标题*/
.header{
  height: 2.25rem;
  line-height: 2.25rem;
  font-size: 0.9rem;
  text-align: center;
  border-bottom: 1px solid black;
}
/*导航*/
.nav{
  display: flex;
  flex-flow: row wrap;
  /*flex布局有问题*/
  justify-content: space-between;
  a{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex:33.3%;
    
    img{
      height: 100px;
      width: 100px;
    }
    span{
      color: rgb(134, 134, 134);
      font-size: 0.3rem;
    }
  }
}
.topic{
  margin: 0 auto;
  margin-top: 0.875rem;
  padding-bottom: 1.375rem;
  border-bottom: 5px solid black;
}
.content{
  .hd{
    margin-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    font-size: .875rem;
     align-items: center;
   h4{
    font-size: .75rem;
    span{
      //图片对齐方式
      vertical-align: middle;
      display: inline-block;
      img{
      width: 40px;
      height: 40px;
     }
    }
   }
  }
}
// 轮播图
.lunbo{
  border-bottom: 5px solid black;
  margin-top: 40px;
  position: relative;
  .swiper-container {
    // width: 100%;
    height: 100%;
    width: 370px;
  }
  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    flex-direction: column;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  transition: 300ms;
  transform: scale(0.8);
  opacity: 0.4;
  }
.swiper-slide-active,.swiper-slide-duplicate-active{
    transform: scale(1);
    opacity: 1;
    z-index: 999;
}
}
.lunbo{
  a{
    width: 169px;
    height: 188px;
  }
}
//充电学习
.section{
  .hd{
    margin-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    font-size: .875rem;
     align-items: center;
   h4{
    font-size: .75rem;
    span{
      //图片对齐方式
      vertical-align: middle;
      display: inline-block;
      img{
      width: 40px;
      height: 40px;
     }
    }
   }
  }
}
// 充电学习轮播图
.section{
  border-bottom: 5px solid black;
  margin-bottom: 30px;
  overflow: hidden;
  .swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    
  }
  .box{
      width: 136px;
      height: 160px;
      text-align: center;
    }
}
.footer{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  a{
    img{
    width: 50px;
    height: 50px;
    }
   
  }
}